﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CWB.Web.CacheLayer;

namespace CWB.WebSite.ToolPages
{
    public partial class CacheView : ToolPageBase
    {
        public List<CWB.Web.CacheLayer.BouCache.BouUserCacheInfo> lbuci;

        protected void Page_Load(object sender, EventArgs e)
        {
            lbuci = BouCache.getBouCache();

            foreach (CWB.Web.CacheLayer.BouCache.BouUserCacheInfo buci in lbuci)
            {
                string disp = string.Format("{0},{1},{2}<Br>", buci.u.username, buci.u.chk, buci.ExpireDataTime.ToFileTime());
                Response.Write(disp);
            }
        }
    }
}
